Thanks go to the following for testing the CIconButton CDEF and giving valuable feedback:
Kevin Boyce
Trey Campbell
John Cavallino
John Champion
Steve Dagley
Randy DeRuiter
Gerard Hammond
Ben ‘Hackster’ Hekster
Jim McQuillan
Matthew Xavier Mora
Harry A. Reinke
George T. Talbot
Adam Treister
_ Other thanks ___________________________________________
Thanks to Peter N. Lewis and Forrest Tanaka for help on the Quickdraw color manipulation code, and to Jon Wind for inspiration in the About box code.
Special thanks to John Cavallino for inspiration, Ben ‘Hackster’ Hekster for faithful beta-testing across my many projects, and Adam Treister and Rich Siegel for giving my defProcs their first real homes.
_ Beta History ___________________________________________
9/17/93 1.0b12
- Removed debugging code.
- Updated sample code.
9/17/93 1.0b11
- Solved crashing bug in Demo App on 68000 machines (corrupt ‘cicn’ resource — thanks, ResEdit!)
- Fixed 68000 B/W hiliting bug.
9/16/93 1.0b10 (unreleased)
- Fixed “Hide Control” problem.
- Fixed incorrect region generation problem in Lite version.
- Revised licensing scheme: simplified and across a greater scale.
9/17/93 1.0b9 (unreleased)
- Fixed “ghosting” problem which resulted in very pale hilights.
9/12/93 1.0b8
- Added “track region” setting to determine whether the CDEF should track the whole control rect or just the icon region.
9/4/93 1.0b7
- Split project into CIconButton and CIconButtonLite CDEF. The first is the best (fastest) one, but uses more memory. For the memory conscious, we also include CIconButtonLite, which is what you’ve been beta-testing so far.
- Got rid of that horrid “eraseWhen” parameter. Now there’s a simple “GeometryChanges” boolean flag, and the CDEF uses the callback whenever it is available.
- Simplified sample code to demonstrate the CDEF working correctly in a window with a non-white background (without needed a callback procedure).
8/25/93 1.0b4
- Fixed redraw problem that drew icon image outside of control’s bounding rectangle.
8/23/93 1.0b3
- Fixed problem drawing controls on non-white background AGAIN! Removed “dontErase” flag, introduced a “eraseWhen” setting to deal with non-white backgrounds AND buttons whose geometry changes (like the latch).
- Introduced callback procedure to redraw backgrounds in special cases.
- Fixed drawing bug when button lies across two monitors.
- Fixed bug when depth of screen is NOT its maximum depth.
- Added sample Pascal and C code to show the libraries in action.
8/13/93 1.0b2
- Fixed problem drawing controls on non-white background (see documentation for new dontErase flag).
- Slight revision to documentation and licensing terms (clarification).
- Added sample Pascal and C code to show the libraries in action.
8/6/93 1.0b1
- Fixed flicker problem for toggle buttons. See Latch toggle for nice, flicker free animation.
- Resolved library incompatibility problem (Matt) -- implemented Pascal and C
libraries separately.
- Added sample Pascal and C code to show the libraries in action.
7/26/93 1.0a10
- Fixed “Numeric Error” crash under 6.0.7 (Jim)
- Fixed hot spot tracking problem in certain areas (Kevin, Trey)
- Updated some of the cicn resources so the selected vs. unselected difference is more apparent, esp. under B/W systems.
- Reworked some of the black-and-white drawing routines so they use CopyBits and not PlotCIcon.
- Added µRunTime.lib library to the CIconButton library; this should make it a true .o compatible library (John, Matt)
- Added “smart pictures” support in Dialogs (switches to Black-And-White picts if needed).